//
//  LQbottomCell.m
//  基本框架
//
//  Created by runone02 on 2018/6/27.
//  Copyright © 2018年 liqiyun. All rights reserved.
//

#import "LQbottomCell.h"

@implementation LQbottomCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    if (self = [super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
        [self setupUI];
        self.selectionStyle = UITableViewCellSelectionStyleNone;
    }
    return self;
}

- (void)setupUI {
    self.bottomBtn = [[UIButton alloc]init];
    [self.bottomBtn setTitle:@"没有找到钉邮, 钉盘, 钉钉卡?" forState:UIControlStateNormal];
    [self.bottomBtn setTitleColor:[UIColor blueColor] forState:UIControlStateNormal];
    
    [self addSubview:self.bottomBtn];
    
    [self.bottomBtn mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.left.right.bottom.mas_equalTo(self);
    }];
}
@end
